[INFO] fetching crate ch347_rs 0.2.0...
[INFO] checking ch347_rs-0.2.0 against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] extracting crate ch347_rs 0.2.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate ch347_rs 0.2.0 on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ch347_rs 0.2.0
[INFO] finished tweaking crates.io crate ch347_rs 0.2.0
[INFO] tweaked toml for crates.io crate ch347_rs 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate ch347_rs 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.14.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.48
[INFO] [stderr]   Downloaded io-lifetimes v0.7.3
[INFO] [stderr]   Downloaded tz-rs v0.6.14
[INFO] [stderr]   Downloaded rustix v0.35.9
[INFO] [stderr]   Downloaded console v0.15.1
[INFO] [stderr]   Downloaded clap v3.2.21
[INFO] [stderr]   Downloaded is_debug v1.0.1
[INFO] [stderr]   Downloaded git2 v0.15.0
[INFO] [stderr]   Downloaded shadow-rs v0.16.3
[INFO] [stderr]   Downloaded utcnow v0.2.1
[INFO] [stderr]   Downloaded utf8-width v0.1.6
[INFO] [stderr]   Downloaded byte-unit v4.0.14
[INFO] [stderr]   Downloaded const_format_proc_macros v0.2.22
[INFO] [stderr]   Downloaded indicatif v0.17.1
[INFO] [stderr]   Downloaded const_format v0.2.26
[INFO] [stderr]   Downloaded linux-raw-sys v0.0.46
[INFO] [stderr]   Downloaded libgit2-sys v0.14.0+1.5.0
[INFO] [stderr]   Downloaded tzdb v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d62c0aa2f39507d18b1f8bb099b4d8f3fd326c78057fbad0ee5aa3e8c6cfa063
[INFO] running `Command { std: "docker" "start" "-a" "d62c0aa2f39507d18b1f8bb099b4d8f3fd326c78057fbad0ee5aa3e8c6cfa063", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d62c0aa2f39507d18b1f8bb099b4d8f3fd326c78057fbad0ee5aa3e8c6cfa063", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d62c0aa2f39507d18b1f8bb099b4d8f3fd326c78057fbad0ee5aa3e8c6cfa063", kill_on_drop: false }`
[INFO] [stdout] d62c0aa2f39507d18b1f8bb099b4d8f3fd326c78057fbad0ee5aa3e8c6cfa063
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bad0aa83a1c119c9a45c90f6e3edbd7504f90959f0ed4acd526a98d7ea0728e8
[INFO] running `Command { std: "docker" "start" "-a" "bad0aa83a1c119c9a45c90f6e3edbd7504f90959f0ed4acd526a98d7ea0728e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.22
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling tz-rs v0.6.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.48
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling time v0.3.14
[INFO] [stderr]    Compiling tzdb v0.4.5
[INFO] [stderr]    Compiling const_format v0.2.26
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling libgit2-sys v0.14.0+1.5.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]    Compiling is_debug v1.0.1
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]     Checking os_str_bytes v6.3.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking console v0.15.1
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking utf8-width v0.1.6
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking byte-unit v4.0.14
[INFO] [stderr]     Checking indicatif v0.17.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]     Checking clap v3.2.21
[INFO] [stderr]    Compiling git2 v0.15.0
[INFO] [stderr]     Checking shadow-rs v0.16.3
[INFO] [stderr]    Compiling ch347_rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         CH347SetDeviceNotify(
[INFO] [stdout]     |         -------------------- arguments to this function are incorrect
[INFO] [stdout] 134 |             device_index,
[INFO] [stdout]     |             ^^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:408:12
[INFO] [stdout]     |
[INFO] [stdout] 408 |     pub fn CH347SetDeviceNotify(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 134 |             device_index.into(),
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         if CH347StreamI2C(
[INFO] [stdout]     |            -------------- arguments to this function are incorrect
[INFO] [stdout] 146 |             device_index,
[INFO] [stdout]     |             ^^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:478:12
[INFO] [stdout]     |
[INFO] [stdout] 478 |     pub fn CH347StreamI2C(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 146 |             device_index.into(),
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         CH347SetDeviceNotify(
[INFO] [stdout]     |         -------------------- arguments to this function are incorrect
[INFO] [stdout] 134 |             device_index,
[INFO] [stdout]     |             ^^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:408:12
[INFO] [stdout]     |
[INFO] [stdout] 408 |     pub fn CH347SetDeviceNotify(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 134 |             device_index.into(),
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         if CH347StreamI2C(
[INFO] [stdout]     |            -------------- arguments to this function are incorrect
[INFO] [stdout] 146 |             device_index,
[INFO] [stdout]     |             ^^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:478:12
[INFO] [stdout]     |
[INFO] [stdout] 478 |     pub fn CH347StreamI2C(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 146 |             device_index.into(),
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 190 |             if CH347StreamSPI4(
[INFO] [stdout]     |                --------------- arguments to this function are incorrect
[INFO] [stdout] 191 |                 self.index,
[INFO] [stdout]     |                 ^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:538:12
[INFO] [stdout]     |
[INFO] [stdout] 538 |     pub fn CH347StreamSPI4(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 self.index.into(),
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 190 |             if CH347StreamSPI4(
[INFO] [stdout]     |                --------------- arguments to this function are incorrect
[INFO] [stdout] 191 |                 self.index,
[INFO] [stdout]     |                 ^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:538:12
[INFO] [stdout]     |
[INFO] [stdout] 538 |     pub fn CH347StreamSPI4(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 self.index.into(),
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:212:16
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if CH347SPI_Read(
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 213 |                 self.index,
[INFO] [stdout]     |                 ---------- expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `u64`, found `u32`
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:216:17
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 &mut i_len,
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     = note:    expected raw pointer `*mut u64`
[INFO] [stdout]             found mutable reference `&mut u32`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:521:12
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn CH347SPI_Read(
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 self.index.into(),
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:212:16
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if CH347SPI_Read(
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 213 |                 self.index,
[INFO] [stdout]     |                 ---------- expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `u64`, found `u32`
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:216:17
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 &mut i_len,
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     = note:    expected raw pointer `*mut u64`
[INFO] [stdout]             found mutable reference `&mut u32`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:521:12
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn CH347SPI_Read(
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 self.index.into(),
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch347_rs` due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch347_rs` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "bad0aa83a1c119c9a45c90f6e3edbd7504f90959f0ed4acd526a98d7ea0728e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bad0aa83a1c119c9a45c90f6e3edbd7504f90959f0ed4acd526a98d7ea0728e8", kill_on_drop: false }`
[INFO] [stdout] bad0aa83a1c119c9a45c90f6e3edbd7504f90959f0ed4acd526a98d7ea0728e8
